//
//  GRPhotoBrowserView.h
//  YC_GRice
//
//  Created by luojinrong11 on 2018/8/4.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface GRPhotoBrowserView : UIView<UIScrollViewDelegate>
@property(nonatomic,strong)UIScrollView * scrollerView;
@property (nonatomic, assign) BOOL beginLoadingImage;
@property(nonatomic,strong)UIImageView * imageView;
@property (nonatomic,assign) CGPoint scrollOffset;
@property (nonatomic, assign) BOOL isFullWidthForLandScape;

@property (nonatomic,copy) void(^scrollViewDidEndDecelerating)(void);
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder;

@end
